
package com.bei_en.teacher.admin.persistence.dao.questions;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.admin.model.questions.bean.QuestionsArticleComment;
import com.bei_en.teacher.admin.model.questions.condition.QuestionsArticleCommentCondition;
import com.bei_en.teacher.admin.persistence.BaseDao;

/**
 * 
 * @author Guocg
 * @date 2016-8-21 21:24:22
 */
@Repository
public interface QuestionsArticleCommentDao extends BaseDao<QuestionsArticleComment, Integer> {

    Integer findNumberByCondition(QuestionsArticleCommentCondition vo);

    List<QuestionsArticleComment> findPageBreakByCondition(QuestionsArticleCommentCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
